<?php
require("init.php"); //是否合法登陆在线
@require(ROOTTHEME.'head.php');
$lsact=$_GET['lsact'];

$menu2=$menu3=$menu4="none";
switch($lsact)                //菜单选择 跳转不同的页面  每个页面都需要交易密码验证（session)
{
	case 'openlist':
	$menu3="block";
		$GLOBALARR['curl']=SITEINDEX.'?lsact=openlist';
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'openlist.inc.php');
	break;
	case 'shents':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=shents';
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'shents.inc.php');
	break;
	case 'xiaojinlist':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=xiaojinlist';
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'xiaojinlist.inc.php');
	break;
	case 'lixilist':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=lixilist';
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'lixilist.inc.php');
	break;
    case 'gonggao':
        $GLOBALARR['curl']=SITEINDEX.'?lsact=gonggao';
        @require(ROOTTHEME.'top.php');
        @require(ROOTTHEME.'menu.php');
        @require(ROOTTHEMETEMP.'gonggao.inc.php');
        break;
	 case 'ctc':
                $GLOBALARR['curl']=SITEINDEX.'?lsact=ctc';
                $menu4="block";
                @require(ROOTTHEME.'top.php');
                @require(ROOTTHEME.'menu.php');
                @require(ROOTTHEMETEMP.'ctc.inc.php');
        break;
	case 'shouyi':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=shouyi';
		$menu4="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'shouyi.inc.php');
	break;
	case 'mypush':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=mypush';
		$menu4="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'mypush.inc.php');
	break;
	case 'orderview':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=orderview';
		$menu4="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'orderview.inc.php');
	break;
	case 'qukuan':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=qukuan';
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'qukuan.inc.php');
	break;
	case 'cunkuan':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=cunkuan';
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'cunkuan.inc.php');
	break;
/* 	case 'doublechk':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=doublechk';
		$menuval=1;
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'doublechk.inc.php');
	break; */
	case 'newslist':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=newslist';
		$menuval=4;
		$menu1="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'newslist.inc.php');
	break;
	case 'checkscode':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=checkscode';
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'checkscode.inc.php');
	break;
	case 'yzmbm'	   :
		$GLOBALARR['curl']=SITEINDEX.'?lsact=yzmbm';
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'yzmbm.inc.php');
	break;
	case 'yzmb'	   :
		$GLOBALARR['curl']=SITEINDEX.'?lsact=yzmb';
		$menu2="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'yzmb.inc.php');
	break;
	case 'zhuanlist':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=zhuanlist';
		$menu4="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'zhuanlist.inc.php');
	break;

	case 'zhuanru':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=zhuanru';
		$menu4="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'zhuanru.inc.php');
	break;
	case 'zhuanhuan':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=zhuanhuan';
		$menu4="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'zhuanhuan.inc.php');
	break;
	case 'qianbao':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=qianbao';
		$menu4="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'qianbao.inc.php');
	break;
	case 'productlist':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=productlist';
		$menu4="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'productlist.php');
	break;
	case 'porder':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=porder';
		$menu4="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'porder.inc.php');
	break;
	case 'mygoodscart':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=mygoodscart';
		$menu4="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'mygoodscart.inc.php');
	break;

	case 'coinrecord':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=coinrecord';
		$menu4="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'coinrecord.inc.php');
	break;
	case 'chonglist':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=chonglist';
		$menu4="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'chonglist.inc.php');
	break;
	case 'orderlist':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=orderlist';
		$menu4="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'orderlist.inc.php');
	break;
	 case 'ctc':
                $GLOBALARR['curl']=SITEINDEX.'?lsact=prizelist';
                $menu4="block";
                @require(ROOTTHEME.'top.php');
                @require(ROOTTHEME.'menu.php');
                @require(ROOTTHEMETEMP.'ctc.inc.php');
        break;

	case 'prizelist':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=prizelist';
		$menu4="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'prizelist.inc.php');
	break;
	case 'qdlist':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=qdlist';
		$menu4="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'qdlist.inc.php');
	break;
	case 'mybank'	:
		$GLOBALARR['curl']=SITEINDEX.'?lsact=mybank';
		$menu2="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'mybank.inc.php');
	break;
	case 'myaddress'	:
		$GLOBALARR['curl']=SITEINDEX.'?lsact=myaddress';
		$menu2="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'myaddress.inc.php');
	break;
	case 'modmb'	:
		$GLOBALARR['curl']=SITEINDEX.'?lsact=modmb';
		$menu2="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'modmb.inc.php');
	break;
	case 'modpwd'	:
		$GLOBALARR['curl']=SITEINDEX.'?lsact=modpwd';
		$menuval=2;
		$menu2="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'modpwd.inc.php');
	break;
	case 'tumap':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=tumap';
		$menuval=3;
		$menu3="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'tumap.inc.php');
	break;
	case 'myinfo':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=myinfo';
		$menuval=1;
		$menu2="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'myinfo.inc.php');
	break;
	case 'buy_gocoin':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=buy_gocoin';
		$menuval=5;
		$menu2="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'buy_gocoin.inc.php');
	break;
	case 'tranelecoin':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=tranelecoin';
		$menuval=5;
		$menu2="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'tranelecoin.inc.php');
	break;
	case 'newsview':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=newsview';
		$menu1="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'newsview.inc.php');
	break;
	case 'daili':
		$GLOBALARR['curl']=SITEINDEX.'?lsact=daili';
		$menu1="block";
		@require(ROOTTHEME.'top.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'daili.inc.php');
	break;
	case 'index':
		//print(ROOTTHEMETEMP.'index.inc.php');die;
		///home/wwwroot/trunk/theme/temp/index.inc.php
		@require(ROOTTHEME.'newtop.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'index.inc.php');
	break;
	case 'zhuancoin':
		@require(ROOTTHEME.'newtop.php');
		@require(ROOTTHEME.'menu.php');
		@require(ROOTTHEMETEMP.'zhuancoin.inc.php');
	break;
	default:
	echo "<script>location.href='login.php';</script>";

}
@require(ROOTTHEME.'foot.php');
?>
